package cn.nebula.music.dao;

import java.util.Set;

import org.springframework.stereotype.Repository;

import cn.nebula.music.domain.SingerAlbum;

@Repository
public interface SingerAlbumDAO {
	public Set<SingerAlbum> findAllSingerAlbums();

	public Set<SingerAlbum> findSingerAlbumsBySingerId(Integer singerId);

	public Set<SingerAlbum> findSingerAlbumsByAlbumId(Integer albumId);

	public Integer addSingerAlbum(SingerAlbum singerAlbum);

	public Integer updateSingerAlbumBySingerId(SingerAlbum singerAlbum);

	public Integer updateSingerAlbumByAlbumId(SingerAlbum singerAlbum);

	public Integer deleteSingerAlbum(SingerAlbum singerAlbum);

	public Integer deleteSingerAlbumBySingerId(Integer id);

	public Integer deleteSingerAlbumByAlbumId(Integer id);
}
